/*
 * RTS.h
 *
 *  Created on: 17.10.2012
 *      Author: Martin
 */

//============================================================================
// Name        : RTS.cpp
// Author      :
// Version     :
// Copyright   : Your copyright notice
// Description : C++, Ansi-style
//============================================================================
#pragma once

#include <GLee.h>

#define NO_SDL_GLEXT

#ifdef _WIN32
#include <windows.h>
#include <io.h>

#include "SDL.h"
#include "SDL_thread.h"

#define GL_GLEXT_PROTOTYPES
#include <GL/glext.h>

#else
#define NO_SDL_GLEXT
#include <GL/gl.h>
#include <GL/glu.h>

#include "SDL/SDL.h"
#include "SDL/SDL_thread.h"
#endif


#include "Map.h"
#include "scene/Timer.h"
#include "scene/Camera.h"
#include "console/glConsole.h"
#include "scene/World.h"

#include <iostream>
#include <time.h>
#include <stdio.h>
#include "engine/RTSException.h"

#include "scene/Cursor.h"

#include "console/globalConsole.h"
#include "gameLogic/Resource.h"

#include "gadgets/Form.h"
#include "gadgets/Label.h"
#include "gadgets/GUI.h"

#include "special/StrIntConvert.h"
#include "gameLogic/UnitBar.h"

#include "octree/Box.h"
#include "threads/ThrPool.h"

#include "engine/engineSettings.h"

#include "textures/Textures.h"

const char* currentPath;

SDL_Event event;
Timer fps;

Map::Map *RTSMap;
glFont *text;

Gadgets::Form *infoBar;
Gadgets::Label *infoLabels[10];
//-------------

bool console_visible;
bool info_visible;
bool wired;
bool fallow;
//Quit flag
bool quit;
int command = -1;

int mx, my;

